package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Daily;
import cn.wolfcode.trip.base.domain.DailyContent;
import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.query.DailyQueryObject;
import cn.wolfcode.trip.base.util.JSONResult;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IDailyService {

    PageInfo query(DailyQueryObject qo);

    DailyContent getDailyContentByDailyId(Long dailyId);

    void saveOrUpdate(Daily daily);

    JSONResult saveOrDeleteCollection(Long userId, Long dailyId);

    List<Long> selectCollectionByUserId(Long userId);

    Daily get(Long id);

    PageInfo queryCollection(DailyQueryObject qo);
}
